#!/bin/sh

comprueba="$(ps aux | grep urxvtd | grep -v grep)"

if [[ -z $comprueba ]]
then
  urxvtd -o -f -q
  urxvtc "$@"
else
  urxvtc "$@"
fi
